package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管养单位信对象 g_organization
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public class GOrganization extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管养单位ID */
    private String orgId;

    /** 行政区划ID */
    @Excel(name = "行政区划ID")
    private String areaId;

    /** 行政区划编码 */
    @Excel(name = "行政区划编码")
    private String areaCode;

    /** 管养单位编码 */
    @Excel(name = "管养单位编码")
    private String orgCode;

    /** 管养单位名称 */
    @Excel(name = "管养单位名称")
    private String orgName;

    /** 上级单位编码 */
    @Excel(name = "上级单位编码")
    private String parentId;

    /** 路径 */
    @Excel(name = "路径")
    private String namePath;

    /** 区划级别 */
    @Excel(name = "区划级别")
    private String level;

    /** 删除标记(0:正常,1:删除) */
    private Integer delFlag;

    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }

    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }

    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }

    public void setOrgCode(String orgCode) 
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode() 
    {
        return orgCode;
    }

    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }

    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }

    public void setNamePath(String namePath) 
    {
        this.namePath = namePath;
    }

    public String getNamePath() 
    {
        return namePath;
    }

    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgId", getOrgId())
            .append("areaId", getAreaId())
            .append("areaCode", getAreaCode())
            .append("orgCode", getOrgCode())
            .append("orgName", getOrgName())
            .append("parentId", getParentId())
            .append("namePath", getNamePath())
            .append("level", getLevel())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
